home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 January / Disc 3 / Amethyst.iso / live / usr / share / vim / vim60 / compiler / ant.vim next >
Encoding:
Text File  |  2002-06-19  |  737 b   |  31 lines

  1. " Vim Compiler File
  2. " Compiler:    ant
  3. " Maintainer:    Johannes Zellner <johannes@zellner.org>
  4. " Last Change:    Wed, 19 Sep 2001 22:51:54 +0200
  5.  
  6. if exists("current_compiler")
  7.     finish
  8. endif
  9. let current_compiler = "ant"
  10.  
  11. let s:cpo_save = &cpo
  12. set cpo&vim
  13.  
  14. setlocal makeprg=ant
  15.  
  16. " first  line:
  17. "     ant with jikes +E, which assumes  the following
  18. "     two property lines in your 'build.xml':
  19. "
  20. "         <property name = "build.compiler"       value = "jikes"/>
  21. "         <property name = "build.compiler.emacs" value = "true"/>
  22. "
  23. " second line:
  24. "     ant with javac
  25. "
  26. setlocal errorformat=\ %#[javac]\ %#%f:%l:%c:%*\\d:%*\\d:\ %t%[%^:]%#:%m,
  27.     \%A\ %#[javac]\ %f:%l:\ %m,%-Z\ %#[javac]\ %p^,%-C%.%#
  28.  
  29. let &cpo = s:cpo_save
  30. unlet s:cpo_save
  31.